import { Column, Entity, Index } from "typeorm";

@Index("sys_role_menu_pkey", ["menuId", "roleId"], { unique: true })
@Entity("sys_role_menu", { schema: "public" })
export class SysRoleMenu {
    @Column("bigint", { primary: true, name: "role_id" })
    roleId!: string;

    @Column("bigint", { primary: true, name: "menu_id" })
    menuId!: string;
}
